package com.leyou.order.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("order-service")
public interface OrderClient {
    @PutMapping("/order/status/update")
    public ResponseEntity<Void> updateOrderStatusById(@RequestParam("orderId") Long orderId);
}
